# -*- coding: utf-8 -*-
import re

st = '120.38.103.69:30782\r\n113.93.102.217:48268\r\n113.93.102.217:48268'

str = st.replace("\r\n", "-")
m = re.split('\r\n' ,st)
print(str)
print(m)

p = re.compile(r'(-)')

ip_list = p.findall(str)

print(ip_list)